/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apt;

/**
 *
 * @author lhminh
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        PhanSo p = new PhanSo();
        p.nhap();
        p.xuat();
        System.out.println();
        
        PhanSo q = new PhanSo(3, 4);
        q.xuat();
        System.out.println();
        
//        PhanSo t = new PhanSo(q);
//        t.xuat();
        
        PhanSo kq = p.tong(q);
        System.out.print("\nPhan so tong la: ");
        kq.xuat();
    }
}
